/** Interactive Surface  FYP- 25 Interactive Surface FYP- 25 Interactive Surface FYP- 25
 *
 *  @author Acer
 */
package camera;

import utilities.AngleFinder;

/** Interactive Surface FYP- 25 Interactive Surface FYP- 25 Interactive Surface FYP- 25
 *  General Information about this class -
 *  Comments -
 */
public abstract class Camera implements Runnable {

    final int CAMERA_NUM; // Default camera for this time
    final int CAMERA_FOV;//angle ofthe camera in degrees
    public int IMAGE_NO;
    double theta, theta2;
    AngleFinder angFind = new AngleFinder();
    boolean active = true;
    protected int lastY=0;
    protected int[] last_Y={0,0};
    int y;
    boolean settingThreshold=false;
    
    public Camera(int CAMERA_NUM, int CAMERA_FOV) {
        this.CAMERA_NUM = CAMERA_NUM;
        this.CAMERA_FOV = CAMERA_FOV;
    }

    /**
     * @return the theta
     */
    public double getTheta() {
        return theta;
    }

    public double getTheta2() {
        return theta2;
    }

    public void setActive(boolean fg) {
        active = fg;
    }

    /**
     * @return the y
     */
    public int getY() {
        return y;
    }

    /**
     * @param lastY the lastY to set
     */
    public void setLastY(int lastY) {
        this.lastY = lastY;
    }
}
